package com.hunt.service.impl;

import com.hunt.dao.FundBaseMessageMapper;
import com.hunt.model.entity.FundBaseMessage;
import com.hunt.service.FundBaseMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author sjs
 * @className
 * @description
 * @date 2020/9/16
 */

@Service
@Transactional
public class FundBaseMessageServiceImpl implements FundBaseMessageService {

    @Autowired
    private FundBaseMessageMapper fundBaseMessageMapper;

    @Override
    public List<FundBaseMessage> findByStockCode(String stockCode) {
        return fundBaseMessageMapper.findByStockCode(stockCode);
    }

}
